package com.zhang.springcloud.api.feignservice;

import com.zhang.springcloud.api.dto.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("feign-service")
public interface IUsersService {
    @GetMapping("/getUserById")
    Users getUserById(String id);
}
